﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LL.Common
{
    public class Condition : ICondition
    {
        public Condition(IConditionItem condition)
        {
            ConditionItem = condition;
        }

        public Condition(Relation relation, IConditionItem condition)
        {
            Relation = relation;
            ConditionItem = condition;
        }

        public Relation Relation { get; set; }
        public IConditionItem ConditionItem { get; set; }
    }
}
